package org.jeecg.modules.demo.yhs.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.demo.yhs.POJO.ConHistory;

import java.util.List;

@Mapper
public interface ConsumerMapper {

    @Select("SELECT * FROM con_history ORDER BY TIME DESC LIMIT 2")
    List<ConHistory> findTwo();
}
